home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / clatdf.z / clatdf
Encoding:
Text File  |  2002-10-03  |  6.2 KB  |  199 lines

  1.  
  2.  
  3.  
  4. CCCCLLLLAAAATTTTDDDDFFFF((((3333SSSS))))                                                          CCCCLLLLAAAATTTTDDDDFFFF((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CLATDF - compute the contribution to the reciprocal Dif-estimate by
  10.      solving for x in Z * x = b, where b is chosen such that the norm of x is
  11.      as large as possible
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE CLATDF( IJOB, N, Z, LDZ, RHS, RDSUM, RDSCAL, IPIV, JPIV )
  15.  
  16.          INTEGER        IJOB, LDZ, N
  17.  
  18.          REAL           RDSCAL, RDSUM
  19.  
  20.          INTEGER        IPIV( * ), JPIV( * )
  21.  
  22.          COMPLEX        RHS( * ), Z( LDZ, * )
  23.  
  24. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  25.      These routines are part of the SCSL Scientific Library and can be loaded
  26.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  27.      directs the linker to use the multi-processor version of the library.
  28.  
  29.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  30.      4 bytes (32 bits). Another version of SCSL is available in which integers
  31.      are 8 bytes (64 bits).  This version allows the user access to larger
  32.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  33.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  34.      only one of the two versions; 4-byte integer and 8-byte integer library
  35.      calls cannot be mixed.
  36.  
  37. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  38.      CLATDF computes the contribution to the reciprocal Dif-estimate by
  39.      solving for x in Z * x = b, where b is chosen such that the norm of x is
  40.      as large as possible. It is assumed that LU decomposition of Z has been
  41.      computed by CGETC2. On entry RHS = f holds the contribution from earlier
  42.      solved sub-systems, and on return RHS = x.
  43.  
  44.      The factorization of Z returned by CGETC2 has the form
  45.      Z = P * L * U * Q, where P and Q are permutation matrices. L is lower
  46.      triangular with unit diagonal elements and U is upper triangular.
  47.  
  48.  
  49. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  50.      IJOB    (input) INTEGER
  51.              IJOB = 2: First compute an approximative null-vector e of Z using
  52.              CGECON, e is normalized and solve for Zx = +-e - f with the sign
  53.              giving the greater value of 2-norm(x).  About 5 times as
  54.              expensive as Default.  IJOB .ne. 2: Local look ahead strategy
  55.              where all entries of the r.h.s. b is choosen as either +1 or -1.
  56.              Default.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCLLLLAAAATTTTDDDDFFFF((((3333SSSS))))                                                          CCCCLLLLAAAATTTTDDDDFFFF((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      N       (input) INTEGER
  75.              The number of columns of the matrix Z.
  76.  
  77.      Z       (input) REAL array, dimension (LDZ, N)
  78.              On entry, the LU part of the factorization of the n-by-n matrix Z
  79.              computed by CGETC2:  Z = P * L * U * Q
  80.  
  81.      LDZ     (input) INTEGER
  82.              The leading dimension of the array Z.  LDA >= max(1, N).
  83.  
  84.      RHS     (input/output) REAL array, dimension (N).
  85.              On entry, RHS contains contributions from other subsystems.  On
  86.              exit, RHS contains the solution of the subsystem with entries
  87.              according to the value of IJOB (see above).
  88.  
  89.      RDSUM   (input/output) REAL
  90.              On entry, the sum of squares of computed contributions to the
  91.              Dif-estimate under computation by CTGSYL, where the scaling
  92.              factor RDSCAL (see below) has been factored out.  On exit, the
  93.              corresponding sum of squares updated with the contributions from
  94.              the current sub-system.  If TRANS = 'T' RDSUM is not touched.
  95.              NOTE: RDSUM only makes sense when CTGSY2 is called by CTGSYL.
  96.  
  97.      RDSCAL  (input/output) REAL
  98.              On entry, scaling factor used to prevent overflow in RDSUM.  On
  99.              exit, RDSCAL is updated w.r.t. the current contributions in
  100.              RDSUM.  If TRANS = 'T', RDSCAL is not touched.  NOTE: RDSCAL only
  101.              makes sense when CTGSY2 is called by CTGSYL.
  102.  
  103.      IPIV    (input) INTEGER array, dimension (N).
  104.              The pivot indices; for 1 <= i <= N, row i of the matrix has been
  105.              interchanged with row IPIV(i).
  106.  
  107.      JPIV    (input) INTEGER array, dimension (N).
  108.              The pivot indices; for 1 <= j <= N, column j of the matrix has
  109.              been interchanged with column JPIV(j).
  110.  
  111. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  112.      Based on contributions by
  113.         Bo Kagstrom and Peter Poromaa, Department of Computing Science,
  114.         Umea University, S-901 87 Umea, Sweden.
  115.  
  116.      This routine is a further developed implementation of algorithm BSOLVE in
  117.      [1] using complete pivoting in the LU factorization.
  118.  
  119.       [1]   Bo Kagstrom and Lars Westin,
  120.             Generalized Schur Methods with Condition Estimators for
  121.             Solving the Generalized Sylvester Equation, IEEE Transactions
  122.             on Automatic Control, Vol. 34, No. 7, July 1989, pp 745-751.
  123.  
  124.       [2]   Peter Poromaa,
  125.             On Efficient and Robust Estimators for the Separation
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. CCCCLLLLAAAATTTTDDDDFFFF((((3333SSSS))))                                                          CCCCLLLLAAAATTTTDDDDFFFF((((3333SSSS))))
  137.  
  138.  
  139.  
  140.             between two Regular Matrix Pairs with Applications in
  141.             Condition Estimation. Report UMINF-95.05, Department of
  142.             Computing Science, Umea University, S-901 87 Umea, Sweden,
  143.             1995.
  144.  
  145.  
  146. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  147.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  148.  
  149.      This man page is available only online.
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.